var Direction;
(function (Direction) {
    Direction[Direction["Up"] = 0] = "Up";
    Direction[Direction["Down"] = 1] = "Down";
    Direction[Direction["Left"] = 2] = "Left";
    Direction[Direction["Right"] = 3] = "Right";
})(Direction || (Direction = {}));
console.log(Direction.Up);


function Person(pname) {
    this.name = pname
}
let p1 = new Person('张三')

class People {
    constructor(pname) {
        this.name = pname
    }
}
let p2 = new People('李四')

